package net.oschina.app.pages;

import android.widget.TextView;

import net.oschina.app.SoloWrap;

/**
 * Created by Aaron on 2017/10/29.
 */

public class PageFavoritesList {
    private SoloWrap soloWrap;

    public PageFavoritesList(SoloWrap soloWrap){
        this.soloWrap = soloWrap;
    }

    public String getNewsTitle(int index){
        return soloWrap.getText((TextView)soloWrap.findById("net.oschina.app:id/tv_favorite_title",index - 1));
    }

}
